package com.example.daiyinuo.decorator;

public class Client {
    public static void main(String[] args) {
        IProduct product = new Product("电饭锅");
        product = new Decorator1(product);
        product = new Decorator2(product);
        product.transport();//从外层到里层依次输出包装物品
    }
}
